package org.orz.story.member.biz.account.persistence.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 
 * 
 * @author orz
 * @email 350679778@qq.com
 * @date 2020-09-06 14:00:35
 */
@Data
@TableName("mem_account")
public class MemAccount {
	@TableId(type = IdType.AUTO)
	/** id */
	private Long id;
	/** 用户名 */
	private String username;
	/** 密码 */
	private String password;
	/** 状态 1正常 2禁用 */
	private Integer status;
	/** 是否有效 1有效 0无效 */
	private Integer aliveFlag;
	/** 创建人 */
	private Long createUser;
	/** 创建时间 */
	private Date createDate;
	/** 更新人 */
	private Long updateUser;
	/** 更新时间 */
	private Date updateDate;
	/**  */
	private Date updateDbDate;

	public MemAccount() {
	}

	public MemAccount(String username, String password, Integer status) {
		this.username = username;
		this.password = password;
		this.status = status;
	}
}
